<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;


/* @var $this yii\web\View */
/* @var $model common\models\AdminUser */

$this->title = '重设密码';
$this->params['breadcrumbs'][] = ['label' => '管理员', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="admin-user-create">

    <h1><?= Html::encode($this->title) ?></h1>

    <div class="resetpw-form">
    
        <?php $form = ActiveForm::begin(); ?>
    
        <?= $form->field($model, 'password')->passwordInput(['maxlength' => true]) ?>
    
        <?= $form->field($model, 'password_repeat')->passwordInput(['maxlength' => true]) ?>
    
        <div class="form-group">
            <?= Html::submitButton('重设', ['class' => 'btn btn-primary', 'name' => 'resetpw-button']) ?>
        </div>
    
        <?php ActiveForm::end(); ?>
    
    </div>

</div>
